package com.xuecheng.api.auth;

import com.xuecheng.framework.domain.ucenter.request.LoginRequest;
import com.xuecheng.framework.domain.ucenter.response.JwtResult;
import com.xuecheng.framework.domain.ucenter.response.LoginResult;
import com.xuecheng.framework.model.response.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

/**
 * @author: gongfy
 * @create: 2020/8/25 17:24
 * @Description: 用户认证接口
 */
@Api(value = "用户认证",description = "用户认证接口")
public interface AuthControllerApi {

    @ApiOperation(value = "登录")
    public LoginResult login(LoginRequest loginRequest);

    @ApiOperation(value = "退出")
    public ResponseResult logout();

    @ApiOperation(value = "获取userjwt令牌")
    public JwtResult userjwt();


}
